package org.sp.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Extension {
	
	protected Map<String,Object> nameValueMap = new HashMap<String,Object>();
	protected List<Object> anyExtensions = new ArrayList<Object>();
	
	public Extension() {
		super();
	}

	public Map<String, Object> getNameValueMap() {
		if (nameValueMap == null) {
			nameValueMap = new HashMap<String,Object>();
		}
		return nameValueMap;
	}

	public void setNameValueMap(Map<String, Object> nameValueMap) {
		this.nameValueMap = nameValueMap;
	}

	public List<Object> getAnyExtensions() {
		if (anyExtensions == null) {
			anyExtensions = new ArrayList<Object>();
		}
		return anyExtensions;
	}

	public void setAnyExtensions(List<Object> anyExtensions) {
		this.anyExtensions = anyExtensions;
	}
	
}
